UCLIBC_SITE:=http://www.uclibc.org/downloads/snapshots
UCLIBC_VER:=$(subst ",,$(CONFIG_UCLIBC_VER_STRING))
#")
UCLIBC_DIR:=$(TOOL_BUILD_DIR)/uClibc-$(UCLIBC_VER)
PKG_SRC:=uClibc-$(UCLIBC_VER).tar.bz2
LINUX_HEADER_DEPENDS:=

$(UCLIBC_DIR)/.unpacked:
	echo $@
	rm -rf $(UCLIBC_DIR)
	[ -d $(TOOL_BUILD_DIR) ] || $(INSTALL) -d $(TOOL_BUILD_DIR)
	[ -d $(UCLIBC_DIR) ] || tar -C $(TOOL_BUILD_DIR) $(TAR_OPTIONS) $(DL_DIR)/$(PKG_SRC)
	touch $@

$(UCLIBC_DIR)/.patched: $(UCLIBC_DIR)/.unpacked $(LINUX_HEADER_DEPENDS)
	echo $@
	
	touch $@

#uclibc-configured: kernel-headers $(UCLIBC_DIR)/.patched
uclibc-configured: $(UCLIBC_DIR)/.patched
	echo $@

$(UCLIBC_DIR)/.configured:
	echo $@
uclibc-target-utils:
	echo $@
uclibc-config:
	echo $@
